﻿
using Microsoft.EntityFrameworkCore;

namespace DA.DataBase.DataBaseContext
{
    public class MySqlDbContext : BaseContext
    {
        
        public MySqlDbContext()
        {
            //this.configurations = configurations;
        }
        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            var connectionString = "";
            if (string.IsNullOrWhiteSpace(connectionString))
            {
                return;
            }
            optionsBuilder.UseMySQL(connectionString);
            base.OnConfiguring(optionsBuilder);
        }
        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            base.OnModelCreating(modelBuilder);
        }

    }
}
